import express from "express"
import MenuController from "../../controller/meunController/menuController.js"

const menuRouter = express.Router();
menuRouter.get('/getMenuList', MenuController.GetMenuList)
menuRouter.get('/getMenuRootList', MenuController.GetMenuRootList)
menuRouter.post('/insertMenu', MenuController.InsertMenu)
menuRouter.delete('/deleteMenu', MenuController.DeleteMenu)
menuRouter.put('/updateMenu',MenuController.UpdateMenu)

export default menuRouter;